/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package dao;

import entities1.Users;
import java.util.List;
import javax.ejb.Local;


/**
 *
 * @author takamflore
 */
@Local
public interface UserDao {
    
    void addUser(Users user);
    List<Users> getAllUser();
    void updateUserProfile(Users user);
    int checkUserLogin(String email,String password);
    int getUserId(String userName);
    Users getUser(int userId);
    void retrievePassword(String email);
    Users getUserEmail(String email);
}
